package com.gxa.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@ApiModel(value = "员工信息实体类")
@Data
public class Employee {
  @ApiModelProperty(name = "id",notes = "员工编号",dataType = "Long")
  private long id;
  @ApiModelProperty(name = "ename",notes = "员工姓名",dataType = "String")
  private String ename;
  @ApiModelProperty(name = "sex",notes = "员工性别(1:男   0:女)",dataType = "Long")
  private long sex;
  @ApiModelProperty(name = "birthday",notes = "出生日期",dataType = "String")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date birthday;
  @ApiModelProperty(name = "phone",notes = "员工电话",dataType = "String")
  private String phone;
  @ApiModelProperty(name = "educated",notes = "学历",dataType = "String")
  private String educated;
  @ApiModelProperty(name = "maritalStatus",notes = "婚姻状况",dataType = "String")
  private String maritalStatus;
  @ApiModelProperty(name = "currentAddress",notes = "现住址",dataType = "String")
  private String currentAddress;
  @ApiModelProperty(name = "bloodType",notes = "血型",dataType = "String")
  private String bloodType;
  @ApiModelProperty(name = "healthStatus",notes = "健康状态",dataType = "String")
  private String healthStatus;
  @ApiModelProperty(name = "entryDate",notes = "入职日期",dataType = "String")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date entryDate;
  @ApiModelProperty(name = "deptId",notes = "所在部门ID",dataType = "String")
  private long deptId;
  @ApiModelProperty(name = "zhiCheng",notes = "职称",dataType = "String")
  private String zhiCheng;
  @ApiModelProperty(name = "zhiWu",notes = "职务",dataType = "String")
  private String zhiWu;
  @ApiModelProperty(name = "peopleType",notes = "人员类别",dataType = "String")
  private String peopleType;
  @ApiModelProperty(name = "minZu",notes = "民族",dataType = "String")
  private String minZu;
  @ApiModelProperty(name = "jiGuan",notes = "籍贯",dataType = "String")
  private String jiGuan;
  @ApiModelProperty(name = "identityCardNumber",notes = "身份证号码",dataType = "String")
  private String identityCardNumber;
  @ApiModelProperty(name = "familyAddress",notes = "家庭住址",dataType = "String")
  private String familyAddress;
  @ApiModelProperty(name = "height",notes = "身高（CM）",dataType = "String")
  private String height;
  @ApiModelProperty(name = "weight",notes = "体重（Kg）",dataType = "String")
  private String weight;
  @ApiModelProperty(name = "politicalFace",notes = "政治面貌",dataType = "String")
  private String politicalFace;
  @ApiModelProperty(name = "qq",notes = "员工QQ",dataType = "String")
  private String qq;
  @ApiModelProperty(name = "telephone",notes = "员工手机",dataType = "String")
  private String telephone;
  @ApiModelProperty(name = "email",notes = "员工邮箱",dataType = "String")
  private String email;
  @ApiModelProperty(name = "jiNeng",notes = "掌握技能",dataType = "String")
  private String jiNeng;
  @ApiModelProperty(name = "workExperience",notes = "工作经验",dataType = "String")
  private String workExperience;
  @ApiModelProperty(name = "winningExperience",notes = "获奖经历",dataType = "String")
  private String winningExperience;
  @ApiModelProperty(name = "yearAssess",notes = "年度考核情况",dataType = "String")
  private String yearAssess;
  @ApiModelProperty(name = "peopleNote",notes = "人员备注",dataType = "String")
  private String peopleNote;
  @ApiModelProperty(name = "peoplePhoto",notes = "员工照片",dataType = "String")
  private String peoplePhoto;
  @ApiModelProperty(name = "entryFormPhoto",notes = "入职表照片",dataType = "String")
  private String entryFormPhoto;
  @ApiModelProperty(name = "identityCardPhoto",notes = "身份证附件照片",dataType = "String")
  private String identityCardPhoto;
  @ApiModelProperty(name = "states",notes = "状态（1:在职 2:离职 3:黑名单）",dataType = "Long")
  private long states;
  @ApiModelProperty(name = "quitDate",notes = "离职日期",dataType = "String")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date quitDate;
  @ApiModelProperty(name = "quitReasons",notes = "离职原因",dataType = "String")
  private String quitReasons;
  @ApiModelProperty(name = "quitFormPhoto",notes = "离职表照片",dataType = "String")
  private String quitFormPhoto;
  @ApiModelProperty(name = "blackDate",notes = "加黑日期",dataType = "String")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date blackDate;
  @ApiModelProperty(name = "jieFengDate",notes = "解封日期",dataType = "String")
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
  private Date jieFengDate;
  @ApiModelProperty(name = "blackReasons",notes = "加黑原因",dataType = "String")
  private String blackReasons;
  @ApiModelProperty(name = "age",notes = "员工年龄",dataType = "Integer")
  private Integer age;              //年龄
  @ApiModelProperty(name = "gongLin",notes = "员工工龄",dataType = "Integer")
  private Integer gongLin;          //工龄
  @ApiModelProperty(name = "jiaoZhengGongLin",notes = "矫正工龄",dataType = "Integer")
  private Integer jiaoZhengGongLin; //矫正工龄
  @ApiModelProperty(name = "grade",notes = "员工级别",dataType = "String")
  private String grade;             //级别
  @ApiModelProperty(name = "dept",notes = "部门对象",dataType = "Dept")
  private Dept dept;

}
